/*!
 * \file http_analysis.h
 *
 * \brief http/1.x analysis 函数
 *
 * All Rights Reserved Copyright (C) 2014 broada,Co.,Ltd.\n
 *
 * \version 3.0
 * \author geyh
 * \date 2016/01/28
 *
 */
#ifndef __HTTP_ANALYSIS_H_
#define __HTTP_ANALYSIS_H_

#include "../comm/http_basedata.h"

int http1_get_resp_code(char *p_tcp_body, unsigned int ui_tcp_body_len, int *p_i_resp_code);
int http_get_whole_req_inf(L7session_http_private *p_st_private, Frreport_body_data *p_st_body_data, char *p_tcp_body, unsigned int ui_tcp_body_len);
int http_get_whole_resp_inf(L7session_http_private *p_st_private, Frreport_body_data *p_st_body_data, char *p_tcp_body, unsigned int ui_tcp_body_len);
int http1_detect(Conntrack *p_st_conn, Apm_packet *p_st_packet);
#endif //__HTTP_ANALYSIS_H
